// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import axios from 'axios'
import { Alert,Button, Table,Input,InputNumber,TableColumn,Checkbox,CheckboxButton,
    CheckboxGroup,Autocomplete,Row, Col,Steps,Step,Loading,MessageBox,Message,
    Notification } from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
Vue.use(Alert)
Vue.use(Autocomplete)
Vue.use(Button)
Vue.use(Input)
Vue.use(InputNumber)
Vue.use(Table)
Vue.use(TableColumn)
Vue.use(Checkbox)
Vue.use(CheckboxButton)
Vue.use(CheckboxGroup)
Vue.use(Row)
Vue.use(Col)
Vue.use(Steps)
Vue.use(Step)
// Vue.use(Loading)
// Vue.use(MessageBox)
// Vue.use(Message)
// Vue.use(Notification)

Vue.prototype.$msgbox = MessageBox;
Vue.prototype.$alert = MessageBox.alert;
// Vue.prototype.$confirm = MessageBox.confirm;
// Vue.prototype.$prompt = MessageBox.prompt;
// // Vue.prototype.$notify = Notification;
// Vue.prototype.$message = Message;

Vue.config.productionTip = false

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  components: { App },
  template: '<App/>'
})
